ComponentOne Bitmap for WPF
C1.WPF.DX.4.5.2 Assembly / C1.Util.DX.Direct3D11 Namespace / Device1 Class / OpenSharedResource1 Method / OpenSharedResource1<T>(String,SharedResourceFlags) Method

In This Topic
    OpenSharedResource1<T>(String,SharedResourceFlags) Method
    In This Topic
    Gives a device access to a shared resource that is referenced by name and that was created on a different device. You must have previously created the resource as shared and specified that it uses NT handles (that is, you set the ResourceMiscFlags.SharedNthandle flag).
    Syntax
    'Declaration
     
    Public Overloads Function OpenSharedResource1(Of T As ComObject)( _
       ByVal name As String, _
       ByVal desiredAccess As SharedResourceFlags _
    ) As T
    public T OpenSharedResource1<T>( 
       string name,
       SharedResourceFlags desiredAccess
    )
    where T: ComObject

    Parameters

    name
    desiredAccess

    Type Parameters

    T
    See Also